package com.fly.sealedcontainer.test;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.atomic.AtomicInteger;

@Data
@Slf4j
public class AtInteger {

    private AtomicInteger count = new AtomicInteger(0);

    public void inc() {
        count.incrementAndGet();
    }

    public void debug() {
        log.debug("debug...");
    }

    public void info() {
        log.info("info...");
    }

    public void error() {
        log.error("error...");
    }
}
